import request from '@/utils/request'

// 分页查询
export function findSdRentPageList(queryParam) {
  return request({
    url: '/smartdor/rent/find/sdRentPageList',
    method: 'post',
    data: queryParam
  })
}

//同步学生数据
export function syncStudentData() {
  return request({
    url: '/smartdor/rent/sync/sdSentData',
    method: 'get',
  })
}

//缴费
export function renew(data) {
  return request({
    url: '/smartdor/rent/renew',
    method: 'post',
    data: data
  })
}

//导出数据
export function exportSdRent(data){
  return request({
    url: '/smartdor/rent/export',
    method: 'post',
    responseType:'blob',
    data: data
  })
}